﻿#ifndef MANAGERINFO_H
#define MANAGERINFO_H

#include <QWidget>
#include "StoreInfo/storeinfo.h"
#include "taskmanager/taskmanager.h"


namespace Ui {
class ManagerInfo;
}

class ManagerInfo : public QWidget
{
    Q_OBJECT

public:
    explicit ManagerInfo(QWidget *parent = 0);
    ~ManagerInfo();
    bool booltable=true;
    QList<QPushButton *>Actionbtns;
    QMap<int, SAPExcelInfo>seletSAPExcelInfoTask;

    taskManager *taskmanagerItem;    //任务管理

    QMap<int, StationStatusUpdate> StationStatusUpdateMap;//库位状态更新历史信息容器
    void tableWidget_Show();                          //tableWidget 更新显示
    QList<RW_Excel>TableWidget();                     //任务列表

public slots:

    //主界面翻译信号
    void ON_Translate();

private slots:
    void ON_ManagerTimer();

    void on_button_query_clicked();

    void on_Cancel_Button_clicked();

public:
    void ManagerInfoInit();

signals:

    //主界面翻译信号
    void sig_Translate();

public slots:

    void SlotsetCurrentItem(int row,int column);


private:
    Ui::ManagerInfo *ui;
    QTimer *ManagerTimer;

    ServerInit ServerInitItem;      //基础信息
    wrexcelprocess *wrexcelprocessItiem;//Excel 读写

    int currentPostWS02Mapcount=0;
    bool boolPostWS02Map=false;

    threadQuery *threadQueryI;
    QThread *threadQueryItem;


};

#endif // MANAGERINFO_H
